package cn.iocoder.yudao.module.trade.controller.admin.orderpostconfig.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 订单回传扣量配置新增/修改 Request VO")
@Data
public class OrderPostConfigSaveReqVO {

    @Schema(description = "主键自增", requiredMode = Schema.RequiredMode.REQUIRED, example = "26028")
    private Long id;

    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "名称")
    private String title;

    @Schema(description = "配置类型(1:百分比；2:小于；3:大于)", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "配置类型(1:百分比；2:小于；3:大于)不能为空")
    private Integer configType;

    @Schema(description = "第三方类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "第三方类型")
    private Integer drainageType;

    @Schema(description = "配置类型对应值", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "配置类型对应值不能为空")
    private Integer configValue;

    @Schema(description = "排序号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "排序号不能为空")
    private Integer sort;

    @Schema(description = "状态(0：停用；1：启用)", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "状态(0：停用；1：启用)不能为空")
    private Boolean status;

}